package com.pickgliss.render2d.events
{
	import com.pickgliss.render2d.vo.MapItem;
	
	import flash.events.Event;
	
	public class LayerEvent extends Event
	{
		public static const ITEM_ADD:String = "itemAdd";
		public static const ITEM_REMOVE:String = "itemRemove";
		
		public var item:MapItem;
		public function LayerEvent(type:String,item:MapItem)
		{
			this.item = item;
			super(type);
		}
		
		override public function clone():Event
		{
			return new LayerEvent(type,item);
		}
	}
}